package com.pw.ba.base.service.impl;


import com.pw.ba.base.mapper.ISearchOrderMapper;
import com.pw.ba.base.pojo.Order;
import com.pw.ba.base.service.SearchOrderService;
import com.sun.org.apache.xpath.internal.operations.Or;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class SearchOrderServiceImpl implements SearchOrderService {

    @Autowired
    ISearchOrderMapper iSearchOrderMapper;


    @Override
    public ArrayList<Order> searchOrder(String userId) {
        return iSearchOrderMapper.searchOrder(userId);
    }
}
